package gongjiao.yunxi.com.utilsprivacypolicy;

import android.content.Context;

import com.aso114.adl.AdlApplication;
import com.aso114.adl.config.AdlConfig;


/**
 * Created by Administrator on 2017/5/13.
 */

public class BaseApplication extends AdlApplication {

    public Context context;
    private static BaseApplication mInstance;

    public static BaseApplication getInstance() {
        return mInstance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        new AdlConfig.Builder()
                .setAppName(getString(R.string.app_name))//app名称
//                .setGdtAppid(getString(R.string.ad_appid))//广点通
//                .setGdtPosid(getString(R.string.ad_posid)) //广点通
                .setSjKey("100023")//上甲
                .setSjSecret("37c38724672ee25bfc2b94dbcaf5eed8") //上甲
                .setQyAdAppid("7d9d41bee2112e2f4c3e80f20989091b")//趣盈
                .isQyAd(true)//true显示趣盈，默认广点通
                .isDebug(false);//true 测试服务器，默认true

    }
}
